<?php
return[
    'index'=>[
        'method'=> ['POST','PUT'],
        'validate'=>[
            'rule'=>[
                'md5'=>['require'],
                'name'=>['require'],
                'accept'=>['require'],
                'size'=>['require','<=:524288000']
            ]
        ],
        'is_login'=>'session',
        'is_cross'=>0, //是否允许跨域
    ]
];